package com.bjx.common.security.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginUserVO {
    private String userId;
    private String username;
    private String realName;
    private String avatar;
    private String orgId;
    private String comId;
    private String token;
    private String homePage;
    private String tenantId;


    @Schema(title = "posts",description = "职位列表")
    private List<UserPostVO> posts;

    @Schema(title = "roles",description = "角色编号列表")
    private List<String> roles;

    @Schema(title = "auths",description = "权限标识列表")
    private List<String> auths;
}
